﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PackageQbyShift.aspx.cs" Inherits="StatisticData_PackageandUnion_PackageQbyShift" Title="按班次统计包装数量" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<%@ Register assembly="ZedGraph.Web" namespace="ZedGraph.Web" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<div>
<br />
    <table style="vertical-align: top; width:80%">
        <tr>
            <td style="vertical-align: text-top; height: 45px;">
                选择日期：</td>
            <td style=" height: 45px;vertical-align: text-top;">
            
            
            <asp:TextBox ID="TextBox1" runat="server" AutoPostBack="True"></asp:TextBox>                              
                
                <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" 
                    Enabled="True" TargetControlID="TextBox1">
                </asp:CalendarExtender>
                
                </td>
                
            <td style="vertical-align: text-top; height: 45px;">
                选择班次：</td>
            <td style="vertical-align: text-top; height: 45px;">
            
                <asp:DropDownList ID="DropDownList1" runat="server">
                </asp:DropDownList>
            </td>
            <td style="vertical-align: text-top; height: 45px;">
                &nbsp; &nbsp;&nbsp;
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="查  询" /></td>
        </tr>
        </table>
        <br />
    <table style="width: 100%">
        <tr>
            <td>
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                    AutoGenerateColumns="False" BackColor="White" BorderColor="White" 
                    BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" 
                    EmptyDataText="没有相关数据！" GridLines="None" 
                    onpageindexchanging="GridView1_PageIndexChanging" PageSize="20" Width="275px">
                    <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                    <Columns>
                        <asp:BoundField DataField="DayTime" HeaderText="产品类型" />
                        <asp:BoundField DataField="Quantity" HeaderText="数量" />
                    </Columns>
                    <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                    <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                    <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                </asp:GridView>
            </td>
            <td>
                <cc1:ZedGraphWeb ID="ZedGraphWeb1" runat="server" Height="500" 
                    onrendergraph="ZedGraphWeb1_RenderGraph" Visible="False" Width="800">
                    <XAxis AxisColor="Black" Cross="0" CrossAuto="True" IsOmitMag="False" 
                        IsPreventLabelOverlap="True" IsShowTitle="True" IsTicsBetweenLabels="True" 
                        IsUseTenPower="False" IsVisible="True" IsZeroLine="False" MinSpace="0" Title="" 
                        Type="Linear">
                        <FontSpec Angle="0" Family="Arial" FontColor="Black" IsBold="True" 
                            IsItalic="False" IsUnderline="False" Size="14" StringAlignment="Center">
                            <Border Color="Black" InflateFactor="0" IsVisible="False" Width="1" />
                            <Fill AlignH="Center" AlignV="Center" Color="White" ColorOpacity="100" 
                                IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" Type="None" />
                        </FontSpec>
                        <MinorGrid Color="Black" DashOff="5" DashOn="1" IsVisible="False" 
                            PenWidth="1" />
                        <MajorGrid Color="Black" DashOff="5" DashOn="1" IsVisible="False" 
                            PenWidth="1" />
                        <MinorTic Color="Black" IsInside="True" IsOpposite="True" IsOutside="True" 
                            PenWidth="1" Size="5" />
                        <MajorTic Color="Black" IsInside="True" IsOpposite="True" IsOutside="True" 
                            PenWidth="1" Size="5" />
                        <Scale Align="Center" Format="g" FormatAuto="True" IsReverse="False" Mag="0" 
                            MagAuto="True" MajorStep="1" MajorStepAuto="True" MajorUnit="Day" Max="0" 
                            MaxAuto="True" MaxGrace="0.1" Min="0" MinAuto="True" MinGrace="0.1" 
                            MinorStep="1" MinorStepAuto="True" MinorUnit="Day">
                            <FontSpec Angle="0" Family="Arial" FontColor="Black" IsBold="False" 
                                IsItalic="False" IsUnderline="False" Size="14" StringAlignment="Center">
                                <Border Color="Black" InflateFactor="0" IsVisible="False" Width="1" />
                                <Fill AlignH="Center" AlignV="Center" Color="White" ColorOpacity="100" 
                                    IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" Type="None" />
                            </FontSpec>
                        </Scale>
                    </XAxis>
                    <Y2Axis AxisColor="Black" Cross="0" CrossAuto="True" IsOmitMag="False" 
                        IsPreventLabelOverlap="True" IsShowTitle="True" IsTicsBetweenLabels="True" 
                        IsUseTenPower="False" IsVisible="False" IsZeroLine="True" MinSpace="0" Title="" 
                        Type="Linear">
                        <FontSpec Angle="0" Family="Arial" FontColor="Black" IsBold="True" 
                            IsItalic="False" IsUnderline="False" Size="14" StringAlignment="Center">
                            <Border Color="Black" InflateFactor="0" IsVisible="False" Width="1" />
                            <Fill AlignH="Center" AlignV="Center" Color="White" ColorOpacity="100" 
                                IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" Type="None" />
                        </FontSpec>
                        <MinorGrid Color="Black" DashOff="5" DashOn="1" IsVisible="False" 
                            PenWidth="1" />
                        <MajorGrid Color="Black" DashOff="5" DashOn="1" IsVisible="False" 
                            PenWidth="1" />
                        <MinorTic Color="Black" IsInside="True" IsOpposite="True" IsOutside="True" 
                            PenWidth="1" Size="5" />
                        <MajorTic Color="Black" IsInside="True" IsOpposite="True" IsOutside="True" 
                            PenWidth="1" Size="5" />
                        <Scale Align="Center" Format="g" FormatAuto="True" IsReverse="False" Mag="0" 
                            MagAuto="True" MajorStep="1" MajorStepAuto="True" MajorUnit="Day" Max="0" 
                            MaxAuto="True" MaxGrace="0.1" Min="0" MinAuto="True" MinGrace="0.1" 
                            MinorStep="1" MinorStepAuto="True" MinorUnit="Day">
                            <FontSpec Angle="-90" Family="Arial" FontColor="Black" IsBold="False" 
                                IsItalic="False" IsUnderline="False" Size="14" StringAlignment="Center">
                                <Border Color="Black" InflateFactor="0" IsVisible="False" Width="1" />
                                <Fill AlignH="Center" AlignV="Center" Color="White" ColorOpacity="100" 
                                    IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" Type="None" />
                            </FontSpec>
                        </Scale>
                    </Y2Axis>
                    <FontSpec Angle="0" Family="Arial" FontColor="Black" IsBold="True" 
                        IsItalic="False" IsUnderline="False" Size="16" StringAlignment="Center">
                        <Border Color="Black" InflateFactor="0" IsVisible="False" Width="1" />
                        <Fill AlignH="Center" AlignV="Center" Color="White" ColorOpacity="100" 
                            IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" Type="None" />
                    </FontSpec>
                    <MasterPaneFill AlignH="Center" AlignV="Center" Color="White" 
                        ColorOpacity="100" IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" 
                        Type="Solid" />
                    <YAxis AxisColor="Black" Cross="0" CrossAuto="True" IsOmitMag="False" 
                        IsPreventLabelOverlap="True" IsShowTitle="True" IsTicsBetweenLabels="True" 
                        IsUseTenPower="False" IsVisible="True" IsZeroLine="True" MinSpace="0" Title="" 
                        Type="Linear">
                        <FontSpec Angle="-180" Family="Arial" FontColor="Black" IsBold="True" 
                            IsItalic="False" IsUnderline="False" Size="14" StringAlignment="Center">
                            <Border Color="Black" InflateFactor="0" IsVisible="False" Width="1" />
                            <Fill AlignH="Center" AlignV="Center" Color="White" ColorOpacity="100" 
                                IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" Type="None" />
                        </FontSpec>
                        <MinorGrid Color="Black" DashOff="5" DashOn="1" IsVisible="False" 
                            PenWidth="1" />
                        <MajorGrid Color="Black" DashOff="5" DashOn="1" IsVisible="False" 
                            PenWidth="1" />
                        <MinorTic Color="Black" IsInside="True" IsOpposite="True" IsOutside="True" 
                            PenWidth="1" Size="5" />
                        <MajorTic Color="Black" IsInside="True" IsOpposite="True" IsOutside="True" 
                            PenWidth="1" Size="5" />
                        <Scale Align="Center" Format="g" FormatAuto="True" IsReverse="False" Mag="0" 
                            MagAuto="True" MajorStep="1" MajorStepAuto="True" MajorUnit="Day" Max="0" 
                            MaxAuto="True" MaxGrace="0.1" Min="0" MinAuto="True" MinGrace="0.1" 
                            MinorStep="1" MinorStepAuto="True" MinorUnit="Day">
                            <FontSpec Angle="90" Family="Arial" FontColor="Black" IsBold="False" 
                                IsItalic="False" IsUnderline="False" Size="14" StringAlignment="Center">
                                <Border Color="Black" InflateFactor="0" IsVisible="False" Width="1" />
                                <Fill AlignH="Center" AlignV="Center" Color="White" ColorOpacity="100" 
                                    IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" Type="None" />
                            </FontSpec>
                        </Scale>
                    </YAxis>
                    <Legend IsHStack="True" IsReverse="False" IsVisible="True" Position="Top">
                        <Location AlignH="Left" AlignV="Center" CoordinateFrame="ChartFraction" 
                            Height="0" Width="0" X="0" Y="0">
                            <TopLeft X="0" Y="0" />
                            <BottomRight X="0" Y="0" />
                        </Location>
                        <FontSpec Angle="0" Family="Arial" FontColor="Black" IsBold="False" 
                            IsItalic="False" IsUnderline="False" Size="12" StringAlignment="Center">
                            <Border Color="Black" InflateFactor="0" IsVisible="False" Width="1" />
                            <Fill AlignH="Center" AlignV="Center" Color="White" ColorOpacity="100" 
                                IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" Type="Solid" />
                        </FontSpec>
                        <Fill AlignH="Center" AlignV="Center" Color="White" ColorOpacity="100" 
                            IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" Type="Brush" />
                        <Border Color="Black" InflateFactor="0" IsVisible="True" Width="1" />
                    </Legend>
                    <PaneFill AlignH="Center" AlignV="Center" Color="White" ColorOpacity="100" 
                        IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" Type="Solid" />
                    <ChartFill AlignH="Center" AlignV="Center" Color="White" ColorOpacity="100" 
                        IsScaled="True" IsVisible="True" RangeMax="0" RangeMin="0" Type="Brush" />
                    <ChartBorder Color="Black" InflateFactor="0" IsVisible="True" Width="1" />
                    <MasterPaneBorder Color="Black" InflateFactor="0" IsVisible="True" Width="1" />
                    <Margins Bottom="10" Left="10" Right="10" Top="10" />
                    <PaneBorder Color="Black" InflateFactor="0" IsVisible="True" Width="1" />
                </cc1:ZedGraphWeb>
            </td>
        </tr>
    </table>
        <br />
        <br />
</div> 
</ContentTemplate> 
    </asp:UpdatePanel>
</asp:Content>

